package com.ischoolbar.programmer.entity.common;

/**
 * @author Losca
 * @date 2022/5/2 16:30
 */
public class Message {
    private Integer id;
    private Integer adminid;
    private String adminname;
    private Integer userid;
    private String username;
    private String send;
    private String reply;
    private String time;

    public Message() {
    }

    @Override
    public String toString() {
        return "Message{" +
                "id=" + id +
                ", adminid=" + adminid +
                ", adminname='" + adminname + '\'' +
                ", userid=" + userid +
                ", username='" + username + '\'' +
                ", send='" + send + '\'' +
                ", reply='" + reply + '\'' +
                ", time='" + time + '\'' +
                '}';
    }

    public Message(Integer id, Integer adminid, String adminname, Integer userid, String username, String send, String reply, String time) {
        this.id = id;
        this.adminid = adminid;
        this.adminname = adminname;
        this.userid = userid;
        this.username = username;
        this.send = send;
        this.reply = reply;
        this.time = time;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAdminid() {
        return adminid;
    }

    public void setAdminid(Integer adminid) {
        this.adminid = adminid;
    }

    public String getAdminname() {
        return adminname;
    }

    public void setAdminname(String adminname) {
        this.adminname = adminname;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSend() {
        return send;
    }

    public void setSend(String send) {
        this.send = send;
    }

    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
